package com.telecom.pojo.dto.user.meal;

import com.telecom.common.convention.result.PageQuery;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.PastOrPresent;
import java.time.LocalDate;

/**
 * 套餐分页查询请求DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserMealPageQueryRequestDTO extends PageQuery {
    /**
     * 菜品种类(0:BREAKFAST 1:LUNCH 2:DINNER)，接收整数类型
     */
    @NotNull(message = "餐品类型不能为空")
    private Integer mealType;

    /**
     * 菜品所在日期
     */
    @NotNull(message = "菜品日期不能为空")
    private LocalDate date;
}